package com.cssl.openFeign;

import com.cssl.domain.dto.UserAccountDto;
import com.cssl.domain.dto.UserAccountTraceDto;
import com.cssl.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "DtsShopProvider9090",path = "/usersaccounttrace",contextId = "5")
public interface DtsAccountTraceClient {
    @PostMapping("/List")
    public Result getAccountTraceList(@RequestBody UserAccountDto userAccountDto);

    @PostMapping("/approve")
    public Result approveAccountTrace(@RequestBody UserAccountTraceDto traceDto);
}
